package com.crecheng.shop.DAO;

public class ItemSpecificData extends BaseData{
    int pid;
    String other;
    float price;
    int sale;
    int have;
    String Img;

    public void set(int pid, String other, float price, int sale, int have) {
        this.pid = pid;
        this.other = other;
        this.price = price;
        this.sale = sale;
        this.have = have;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getSale() {
        return sale;
    }

    public void setSale(int sale) {
        this.sale = sale;
    }

    public int getHave() {
        return have;
    }

    public void setHave(int have) {
        this.have = have;
    }

    public String getImg() {
        return Img;
    }

    public void setImg(String img) {
        Img = img;
    }

    @Override
    public String toString() {
        return "ItemSpecificData{" +
                "id=" + id +
                ", pid=" + pid +
                ", other='" + other + '\'' +
                ", price=" + price +
                ", sale=" + sale +
                ", have=" + have +
                '}';
    }
}
